/**
 * Created by ebalmes Oct 6, 2009 8:47:13 AM
 * 
 */
package gui.actions;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.Icon;

import com.sun.xml.internal.bind.v2.runtime.reflect.Accessor.SetterOnlyReflection;

public abstract class XAction extends AbstractAction
{
  public XAction(String title, Icon icon, String desc, int mnemonic) {
    putValue(Action.NAME, title);
    putValue(Action.SMALL_ICON, icon);
    putValue(Action.LONG_DESCRIPTION, desc);
    putValue(Action.MNEMONIC_KEY, mnemonic);
  }
}
